
#include "Uft.h"

#include "UftServer.h"
#include "UftClient.h"

int Uft::startServer()
{
    UftServer   s;
    return s.start(10234);
}

int Uft::requestFile(const char * ip, int port, const char * filename, const char * localfilename, int max_thread_count)
{
    UftClient   c;
    return c.requestFile(ip, port, filename, localfilename, max_thread_count);
}



